﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using Job.Entity;

namespace Job.Data.Interfaces
{
    public interface ICommon
    {
        string GetServerTime();
        DataSet GetPageData(IDataParameter[] Params);// string querySql, string strOrder1, string strOrder2, int pageSize, int pageIndex, int countType);
        bool Login(string username, string password);
        JobPersonInfo FindSinglePersonInfo(int personInfoId);
        DataSet FetchLevelDictdata(System.Data.IDataParameter[] Params);
        void UpdateCareerObjective(JobPersonInfo info);
        void UpdatePhoto(JobPersonInfo info);
        JobPersonInfo GetUserPhoto(int personInfoId);
        IList<ResumeList> GetResumeList(int personalAccountId);
        void RefreshResume(int resumeId);
        void EditPassword(JobPersonAccount account);
    }
}
